<div class="blazorise-codeblock">
<div class="csharp"><pre>
<span class="keyword">public</span> <span class="keyword">async</span> Task&lt;<span class="keyword">string</span>&gt; GetDocumentContent()
{
    <span class="keyword">return</span> <span class="keyword">await</span> File.ReadAllTextAsync(<span class="string">&quot;Document.txt&quot;</span>);
}
</pre></div>
</div>
